import {get, post_json, post, post_form, post_excel } from './http_9534'
//0.通过stationCode查找图纸
export const passDeptIdQueryDrawingInfo = p => post('/common/passDeptIdQueryDrawingInfo', p);
//1.通道列表
export const queryConfigurationLeftTable = p => post_json('/passConfig/queryConfigurationLeftTable', p);
//2.列表详情
export const queryConfigurationRightTable = p => post_json('/passConfig/queryConfigurationRightTable', p);
//3.详情点位
export const queryAllInfo = p => post_json('/passConfig/queryAllInfo', p);
//4.通道设置
export const updateConfigurationLeftTable = p => post_json('/passConfig/updateConfigurationLeftTable', p);
//5.查询图纸数据
export const queryDrawingData = p => post_json('/common/queryDrawingData', p);
//6.获取图片类型的系统组件
export const getImages = p => get('/common/getImages?type=' + p);
//7.获取图片自定义上传图片
export const getCustomImages = p => get('common/getCustomImages?type=' + p);
//7.保存页面数据
export const addDrawingData = p => post_json('/common/addDrawingData', p);
//8.查询已配置点位
export const queryBindingInfo = p => post_json('/passConfig/queryBindingInfo', p);
//9.绑定点位
export const addBindInfo = p => post_json('/passConfig/addBindInfo', p);
//10.解除绑定
export const unbindInfo = p => post_json('/passConfig/unbindInfo', p);
//11.删除图纸
export const deleteDrawingDta = p => post_json('/common/deleteDrawingDta', p);
//12.修改通道频率
export const updateMqttInfo = p => post_json('/passConfig/updateMqttInfo', p);